package qlsl.androiddesign.entity.otherentity;

import java.io.Serializable;

/**
 * 二手车品牌<br/>
 * 
 */
public class CarBrand implements Comparable<CarBrand>, Serializable {

	private static final long serialVersionUID = 5097322512639637298L;

	private String id;

	private String name;

	private String initials;

	public String getInitials() {
		return initials;
	}

	public void setInitials(String initials) {
		this.initials = initials;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public int compareTo(CarBrand another) {
		return initials.compareTo(another.getInitials());
	}

}
